package io.zhifei.modules.sys.system.service;

import com.baomidou.mybatisplus.extension.service.IService;
import io.zhifei.common.utils.PageUtils;
import io.zhifei.modules.sys.system.entity.ExaminationEntity;

/**
 * @ClassNameExaminationServer
 * @Description
 * @Author
 * @Date2020/11/16 15:14
 * @Version V1.0
 **/
public interface ExaminationServer extends IService<ExaminationEntity> {
    /***
     * 获取列表
     * @param page
     * @param pageSize
     * @param type
     * @return
     */
    PageUtils getlist(Integer page, Integer pageSize, Integer type);

    /***
     * 新增
     * @param examinationEntity
     * @param userId
     */
    void add(ExaminationEntity examinationEntity, Long userId);

    /***
     *  编辑
     * @param examinationEntity
     * @param userId
     */
    void update(ExaminationEntity examinationEntity, Long userId);

    /***
     * 删除
     * @param ids
     */
    void delete(String[] ids);
}
